using System.Collections.Generic;
using System.Xml.Serialization;

namespace Commons.Injector.Dtos
{
	public class ConstructorDto
	{
		[XmlAttribute(AttributeName = "var-args", Type = typeof(bool))]
		public bool VarArgs { get; set; }

		[XmlAttribute(AttributeName = "type", Type = typeof(string))]
		public string Type { get; set; }

		[XmlElement(ElementName = "param")]
		public List<ParameterDto> Parameters;
	}
}

